# -*- coding:utf-8 -*-#
# 作者：bella
# 日期：2021/1/15 16:24

# F[n]=F[n-1]+F[n-2](n>=2,F[0]=0,F[1]=1)



def fun(n):
    if n in (0,1):
        return 1
    elif n>=2:
        return fun(n-1)+fun(n-2)



if __name__ == '__main__':
    list = []
    n = 0
    while fun(n)<=10:
        list.append(fun(n))
        n += 1
    print(list)


